package com.zj.designpattern.decorator;

/**
 * 装饰(Decorator)角色
 */
public abstract class Deractor implements Cake {
    Cake cake;

    public Deractor(Cake cake) {
        this.cake = cake;
    }

    @Override
    public String descripestion() {
        return cake.descripestion();
    }

    @Override
    public Double money() {
        return cake.money();
    }

}
